<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>裴波那契</title>
</head>
<body>

<script>
    function fbnq(n){
        if (n == 1||n == 2){
            return 1;
        }else {
            return fbnq(n - 1) + fbnq(n - 2);
        }
    }
    console.log(fbnq(25));
</script>
</body>
</html>